package com.zhiyou100.model;

public class User {
    private Integer id;

    private String name;

    private String password;

    private String ipone;

    private String rName;

    private String idNum;

    private String photo;

    private Integer uStatus;
    
    private MUser muser;
    
    private City  city;
    
    private Province province;
    
    private Classity classity;
    

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getIpone() {
        return ipone;
    }

    public void setIpone(String ipone) {
        this.ipone = ipone == null ? null : ipone.trim();
    }

    public String getrName() {
        return rName;
    }

    public void setrName(String rName) {
        this.rName = rName == null ? null : rName.trim();
    }

    public String getIdNum() {
        return idNum;
    }

    public void setIdNum(String idNum) {
        this.idNum = idNum == null ? null : idNum.trim();
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo == null ? null : photo.trim();
    }

    public Integer getuStatus() {
        return uStatus;
    }

    public void setuStatus(Integer uStatus) {
        this.uStatus = uStatus;
    }

	public MUser getMuser() {
		return muser;
	}

	public void setMuser(MUser muser) {
		this.muser = muser;
	}

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public Province getProvince() {
		return province;
	}

	public void setProvince(Province province) {
		this.province = province;
	}

	public Classity getClassity() {
		return classity;
	}

	public void setClassity(Classity classity) {
		this.classity = classity;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", password=" + password + ", ipone=" + ipone + ", rName=" + rName
				+ ", idNum=" + idNum + ", photo=" + photo + ", uStatus=" + uStatus + ", muser=" + muser + ", city="
				+ city + ", province=" + province + ", classity=" + classity + "]";
	}

	
}